package cn.dlc.com.config;

import cn.dlc.com.user.entity.User;
import org.springframework.context.annotation.Bean;

public class UserConfiguration {
    @Bean
    public User user(){
        User user = new User();
        user.setIdcard("1234567890");
        user.setName("测试自动注入");
        return user;
    }
}
